#
# MAINTAINER liuyu <layyu1@163.com>
#封装了字符集 定制版openjdk,且添加了skywalking,jmx_export

FROM registry.cn-hangzhou.aliyuncs.com/liuyu/openjdk:11-skywalking86-jmx161
MAINTAINER liuyu <layyu1@163.com>
ARG JAR_FILE
ENV JAVA_OPTS=''
ADD target/${JAR_FILE} app.jar
ENTRYPOINT ["sh","-c","java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar"]